package com.yx.robot.sdk.req;

import android.view.View;

public class CameraInitParam {
    View view;

    private CameraInitParam(Builder builder) {
        setView(builder.view);
    }

    public static Builder newBuilder() {
        return new Builder();
    }

    public View getView() {
        return view;
    }

    public void setView(View view) {
        this.view = view;
    }

    public static final class Builder {
        private View view;

        private Builder() {
        }

        public Builder view(View view) {
            this.view = view;
            return this;
        }

        public CameraInitParam build() {
            return new CameraInitParam(this);
        }
    }
}
